package ${package};


import com.zeng.nicecommon.annotation.EnableCommon;
import com.zeng.nicecore.annotation.EnableCore;
import ${package}.annotation.Enable${moduleHum};
import com.zeng.sys.authmd.restfulmodule.annotation.EnableAuthMdRestful;
import com.zeng.sys.filemd.restfulmodule.annotation.EnableFileDownload;
import com.zeng.sys.filemd.restfulmodule.annotation.EnableFileMdRestful;
import com.zeng.sys.filemd.restfulmodule.annotation.EnableFileServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.ApplicationPidFileWriter;

@EnableAuthMdRestful
@EnableFileMdRestful
@EnableFileDownload
@EnableFileServer
@Enable${moduleHum}
@EnableCommon
@EnableCore
@SpringBootApplication
public class ${moduleHum}Application {
    public static void main(String[] args) {
        SpringApplication app = new SpringApplication(${moduleHum}Application.class);
        app.addListeners(new ApplicationPidFileWriter());
        app.run(args);
    }
}
